Release 10.1A: OpenEdge Application Server:
Developing AppServer Applications
Raising the ERROR condition and returning values
You can return application exceptions, with or without associated values, to client applications by executing the
RETURNERRORstatement. The effect is similar to a local procedure return. When you execute this statement in any remote procedure (persistent or non-persistent), the procedure:An
ERRORcondition raised in an Activate procedure for a stateless AppServer session has the same effect as if it were raised in the remote procedure for the request.To return a value without raising the
ERRORcondition, use theRETURNstatement without theERRORoption.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |